﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace GameSchoolApplication.Models
{
	public class Assignment
	{
		[Key]
		public int AssignmentId { get; set; }
        [Display(Name = "Titill")]
		public string Title { get; set; }
        [Display(Name = "Lýsing")]
		public string Description { get; set; }
        [Display(Name = "Hámarksfjöldi stiga")]
        public int MaxPoints { get; set; }
        [Display(Name = "Skiladagar")]
        public int Days { get; set; }
        public int LevelId { get; set; }
       
        [ForeignKey("LevelId")]
        public virtual Level Level { get; set; }
        public virtual ICollection<StudentAssignmentPoints> StudentAssignmentPoints { get; set; }
	}
}